<template>
    <van-nav-bar title="商城地图" left-text="" left-arrow @click-left="goBack" />
    <baidu-map class="map"   :center="{lng: 113.3265410, lat: 23.1057070}" :zoom="15">
    </baidu-map>
</template>
<script setup>
import { getCurrentInstance } from 'vue';
import { BaiduMap } from 'vue-baidu-map-3x'
const {proxy}=getCurrentInstance()
const goBack=()=>{
    proxy.$router.go(-1)
}
</script>
<style>
.map {
  width: 100vw;
  height: 100vh;
}
</style>